import React from 'react'
import style from './style.module.scss'

function Index (props) {

  let flightData = {
    lhtitle: {
      start: '丽江',
      end: '昆明',
    },
    date: '9月6日 -- 9月11日',
    price: 874,
    zhekou: 2.1,
  }

  return (
    <div className={style.HomeModFlightItem}>
      <div className={style.lhtitle}>
        <span>{flightData.lhtitle.start}</span><i>--></i><span>{flightData.lhtitle.end}</span>
      </div>
      <div className={style.datetime}>
        <span>{flightData.date}</span>
      </div>
      <div className={style.flightPrice}>
        <em>￥{flightData.price}</em> 起 <span>{flightData.zhekou}折</span>
        <div>立抢</div>
      </div>
    </div>
  )
}

export default Index
